import http from "../utils/request"

export function start(val){
	return http({
		 url: '/aimock-module/interview/start',
		    method: 'POST',
		    data: val,
	})	
}

export function submitAnswer(val){
	return http({
		 url: '/aimock-module/interview/submit-answer',
		    method: 'POST',
		    data: val,
	})	
}

export function end(val){
	return http({
		 url: '/aimock-module/interview/end',
		    method: 'POST',
		    data: val,
	})	
}

export function ask(val){
	return http({
		 url: '/aimock-module/ai-service/ask',
		    method: 'POST',
		    data: val,
	})	
}

export function clear(val){
	return http({
		 url: '/aimock-module/ai-service/clear',
		    method: 'POST',
		    data: val,
	})	
}